<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8" />
    <title></title>
    <script type="text/javascript" src="/cart/js/jquery-3.1.1.min.js"></script>
    <script type="text/javascript" src="/cart/bootstrap/js/bootstrap.js"></script>
    <script type="text/javascript" src="/cart/js/swiper.min.js"></script>
	<script src="/cart/js/swiper.min.js"></script>
    <link rel="stylesheet" type="text/css" href="/cart/css/swiper.min.css" />
    <link rel="stylesheet" type="text/css" href="/cart/bootstrap/css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="/cart/css/success.css" />

 </head>

    <body>
    <!--头部-->
    <div class="alert-info">
        <div class="hd_wrap_top">
        <ul class="hd_wrap_left">
        <li class="hd_home"><i class="glyphicon glyphicon-home"></i>
        <a href="/javascript:;">马士兵商城首页</a>
        </li>

        </ul>

        <ul class="hd_wrap_right">
        <li th:if="${session.loginUser == null}" class="forel"><a href="http://localhost:10010/login.html" class="link_login">你好，请登录:</a>&nbsp;</li>
        <li th:if="${session.loginUser != null}" class="forel"><span class="link_login">[[${session.loginUser.nickname}]]</span>&nbsp;</li>
        <li class="forel">
            <a href="http://localhost:10010/register.html" class="link_regist">免费注册</a>

        </li>
        <li class="spacer">

        </li>

        <li>
        <a href="/javascript:;">我的订单</a>
        </li>



        </ul>

        </div>
      </div>

        <div class="nav-tabs-justified">
        <div class="nav_wrap">

        <div class="nav_top">
        <div class="nav_top_one">
        <a href="/#"><img src="/cart/img/logo1.jpg"  style="height: 70px;width: 90px;margin-left: 170px;"  /></a>
        </div>
        <div class="nav_top_two"><input type="text" /><button>搜索</button></div>





    </div>

    </div>
    </div>

    <div class="main">

        <div class="success-wrap">
        <div class="w" id="result">
        <div class="m succeed-box">
        <div class="mc success-cont" th:if="${orderSn != null}">
            <h1>恭喜您！秒杀成功，订单号[[${orderSn}]]</h1>
            <h2>正在准备订单数据... 10秒后跳转到支付页面</h2>
            <a href="#">去支付</a>
        </div>
         <div class="mc success-cont" th:if="${orderSn == null}">
             <h1>很遗憾~没有抢购到！欢迎下次再参与抢购。。。。</h1>
         </div>
    </div>
    </div>
    </div>
    </div>

    </div>
    </body>
    <script type="text/javascript" src="/cart/js/success.js"></script>

</html>
